#pragma once
#include <map>
#include "wx/listctrl.h"
using namespace std;
typedef map<long,bool> wxTCheckedMaskMap;
class wxCheckListCtrl :
    public wxListCtrl
{
public:
    wxCheckListCtrl(wxWindow* parent,wxWindowID id,const wxPoint& pos
        ,const wxSize& size,long style);
    ~wxCheckListCtrl(void);
    bool GetItemChecked(long itemId);
    void SetItemChecked(long itemId,bool checked);
private:
  wxTCheckedMaskMap mCheckedMaskMap;
};

